package com.ruoyi.restaurant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐品项目—订单对象 item_order
 * 
 * @author ruoyi
 * @date 2022-04-13
 */
public class ItemOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 餐品项目_订单序号 */
    private Integer iId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Integer orderId;

    /** 菜品ID */
    @Excel(name = "菜品ID")
    private Integer itemId;

    /** 菜品编号 */
    @Excel(name = "菜品编号")
    private String itemNums;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String itemNames;

    /** 菜品数量 */
    @Excel(name = "菜品数量")
    private Long itemQuantity;

    public void setiId(Integer iId) 
    {
        this.iId = iId;
    }

    public Integer getiId() 
    {
        return iId;
    }
    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }
    public void setItemId(Integer itemId) 
    {
        this.itemId = itemId;
    }

    public Integer getItemId() 
    {
        return itemId;
    }
    public void setItemNums(String itemNums) 
    {
        this.itemNums = itemNums;
    }

    public String getItemNums() 
    {
        return itemNums;
    }
    public void setItemNames(String itemNames) 
    {
        this.itemNames = itemNames;
    }

    public String getItemNames() 
    {
        return itemNames;
    }
    public void setItemQuantity(Long itemQuantity) 
    {
        this.itemQuantity = itemQuantity;
    }

    public Long getItemQuantity() 
    {
        return itemQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iId", getiId())
            .append("orderId", getOrderId())
            .append("itemId", getItemId())
            .append("itemNums", getItemNums())
            .append("itemNames", getItemNames())
            .append("itemQuantity", getItemQuantity())
            .toString();
    }
}
